package com.rui.patterns.factory.staticFactory;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Client
 * @createTime : [2022/2/19 22:06]
 * @description : [描述该类的功能]
 */

public class Client {
    public static void main(String[] args) {

        //创建咖啡店类
        CoffeeStore store = new CoffeeStore();

        Coffee coffee = store.orderCoffee("latte");

        System.out.println(coffee.getName());
    }
}
